package inheritance;/*
 *  user:38917
 *  date:2025/5/4
 *  time:21:38
 */

public class Father {
    public String fatherName;
    public int fatherAge;
    public String weight;
    //
    public Father(String fatherName, int fatherAge, String fatherWeight) {
        this.fatherName = fatherName;
        this.fatherAge = fatherAge;
        this.weight = fatherWeight;
    }



    //
    public Father(){
        System.out.println("父类的无参构造方法");
    }
    //
    {
        System.out.println("父类的实例代码块");
    }
    //
    static {
        System.out.println("父类的静态代码块");
    }
}
